﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using DAL;
using Entity;

namespace BUL
{
    public class GroupNewsBul
    {
        GroupNewsDal dal=new GroupNewsDal();
        public List<GroupNews> GroupNews_GetById(string Id)
        {
            return dal.GroupNews_GetById(Id);
        }
        public List<GroupNews> GroupNews_GetByTop(string Top, string Where, string Order)
        {
            return dal.GroupNews_GetByTop(Top, Where, Order);
        }
        public List<GroupNews> GroupNews_GetByAll(string Lang)
        {
            return dal.GroupNews_GetByAll(Lang);
        }
        public List<GroupNews> GroupNews_Search(string Name, string Active)
        {
            return dal.GroupNews_Search(Name, Active);
        }
        public bool GroupNews_Insert(GroupNews data)
        {
            return dal.GroupNews_Insert(data);
        }
        public bool GroupNews_Update(GroupNews data)
        {
            return dal.GroupNews_Update(data);
        }

        public bool GroupNews_Delete(string Id)
        {
            return dal.GroupNews_Delete(Id);
        }

    }
}
